home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 April / EnigmA AMIGA RUN 17 (1997)(G.R. Edizioni)(IT)[!][issue 1997-04][EAR-CD].iso / EARCD / text / hyper / hsc_source.lha / hsc / source / ugly / ustrlist.h < prev    next >
C/C++ Source or Header  |  1996-10-14  |  709b  |  39 lines

  1. /*
  2.  *
  3.  * ugly/ustrlist.h
  4.  *
  5.  * header file for string list functions
  6.  *
  7.  * (W) by Tommy-Saftwörx in 1996
  8.  *
  9.  */
  10.  
  11. #ifndef UGLY_USTRLIST_H
  12. #define UGLY_USTRLIST_H
  13.  
  14. #include "utypes.h"
  15. #include "ustring.h"
  16. #include "dllist.h"
  17.  
  18. /*
  19.  * external function prototypes
  20.  */
  21.  
  22. #define app_strnode(list,str) app_dlnode((list),(APTR)(str))
  23. #define find_strnode(nd,str) find_dlnode((nd),(APTR)(str), cmp_string_node)
  24.  
  25. #ifndef NOEXTERN_UGLY_USTRLIST_H
  26.  
  27. extern VOID del_string_node(APTR data);
  28. extern STRPTR new_string_node(STRPTR data);
  29. extern int cmp_string_node(APTR cmp_data, APTR lst_data);
  30.  
  31. extern VOID clr_strlist(DLLIST *list);
  32. extern VOID del_strlist(DLLIST *list);
  33. extern DLLIST *init_strlist(VOID);
  34.  
  35. #endif
  36.  
  37. #endif
  38.  
  39.